<template>
	<view class="ser-info">
		<view class="ser-info-wrapper">
			<image :src="description"  mode="widthFix"></image>
			</view>
	</view>
</template>

<script>
	import jshopContent from '@/components/jshop/jshop-content.vue' //视频和文本解析组件
	export default {
		data() {
			return {
				arr:{},
				description:""
			}
		},
		methods: {
			
		},
		components:{
			jshopContent
		},
		onLoad(options){
			let params = options.params
			let arr = decodeURIComponent(params).split('&')
			// console.log(arr)
			let description
			for (var i = 0; i < arr.length; i++) {
			    let key = arr[i].split("=")[0];
				console.log(key)
			    if (key == 'image_id') {
			        this.description = arr[i].split("=")[1];
			    }
			}
		}
	}
</script>

<style scoped>
	.ser-info-wrapper{
		    width: 100%;
		    /* padding: 16px; */
		    height: 100%;
		    position: absolute;
	}
.ser-info-wrapper image{
	width: 100%;
	height: 100%;
}
</style>
